package com.groupname.dangerousdelves;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.OutputStream;
import java.io.InputStream;

// -------------------------------------------------------------------------
/**
 *  This interface is responsible for handling file input and output.
 *
 *  @author Chris Fieldman (Chrisf90)
 *  @version 2012.11.13
 */
public interface FileIO
{
    //~-------------------------------------------------------------------------
    // Methods
    /**
     * Creates and returns a stream for the file specified.
     * @param fileName The name of the file to load
     * @return The stream for the file
     * @throws IOException Pass any exceptions to the caller
     */
    public BufferedReader readAsset(String fileName) throws IOException;
}
